cmake_minimum_required(VERSION 2.8)

project(lockfree_queue)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_FLAGS -pthread)

add_definitions("-Wall -g")

set(SRC_DIR ${PROJECT_SOURCE_DIR}/src)
set(INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include)

add_subdirectory(${SRC_DIR})

include_directories(${SRC_DIR} ${INCLUDE_DIR})

add_executable(${PROJECT_NAME} ${SRC_DIR}/start.cpp)